<!doctype html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="keywords" content="星时代曹波涛" />
    <title><%= data.title %></title>
    <%- include("layout/css_includ.ejs") %>
        
        <!-- 代码高亮插件 -->
        <link href="https://cdn.bootcss.com/highlight.js/9.18.1/styles/monokai-sublime.min.css" rel="stylesheet">
        <script src="https://cdn.bootcss.com/highlight.js/9.18.1/highlight.min.js"></script>
        <script>hljs.initHighlightingOnLoad();</script>
        <style>
            table{
                width: 100%;
                overflow: scroll;
            }
            img{
                width: 100%;
                height: auto;
            }
        </style>
</head>

<body>
    <div class="container-fluid bg-nav">
        <div class="container">
            <div class="row">
                <div class="col-12 bg-nav">
                    <%- include("layout/nav.ejs") %>
                </div>
            </div>
        </div>
    </div>
    <!--头部结束-->


    <!--正文-->
    <div class="container" style="overflow-x: auto;">
        <div class="row">
            <!-- 可变区域-->
            <div class="col-12 bg-white my-3" style="min-height: 500px;">
                <div class="row mt-3 w-100 p-0 m-0">
                    <div class="col-12 p-0 m-auto">
                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb">
                                <li class="breadcrumb-item"><a href="/">首页</a></li>
                                <li class="breadcrumb-item"><a href="/list">文章</a></li>
                                <li class="breadcrumb-item active" aria-current="/list">文章详情</li>
                            </ol>
                        </nav>
                    </div>
                </div>
                <!--复制开始-->
                <h2 class="text-center mt-4 mb-3">
                    <%= data.title %>
                </h2>
                <p class="text-center border-bottom mb-3 pb-2" style="font-size: 12px;">
                    浏览次数:&emsp;<%= data.views %>
                        &emsp;
                        发表时间:&emsp;<%= data.created %>
                </p>
                <div class="main-text mx-4">
                    <%- data.content %>
                </div>

                <div class="mb-5">
                </div>
                <!--复制结束-->
            </div>
            <!-- 可变区域结束-->
        </div>
    </div>
    <!--正文结束-->
    <%- include("layout/foot.ejs") %>
        <%- include("layout/js_includ.ejs") %>
</body>

</html>